﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Prism.Games.GalEngine.Scripts.FunctionModel;

namespace Prism.Games.GalEngine.Scripts.Data.Effect
{
    [Serializable]
    public abstract class Animation : MarkedObject, IItemIncrementalMarkableHost
    {
        protected Animation()
        {
        }

        protected Animation(IItemIncrementalMarkable host)
        {
            this.Host = host;
        }

        private TimeSpan startTime;
        public TimeSpan StartTime { get { return this.startTime; } set { this.startTime = value; this.OnPropertyChanged("StartTime"); } }

        private TimeSpan endTime;
        public TimeSpan EndTime { get { return this.endTime; } set { this.endTime = value; this.OnPropertyChanged("EndTime"); } }



        public IItemIncrementalMarkable Host
        {
            get;
            set;
        }
    }
}
